﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <!--Because glyphicons don't "work" (if debag = false) when bootstrap styles are in bundles-->
    @Styles.Render("http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/cerulean/bootstrap.min.css")
    @Styles.Render("~/bundles/styles/client")
    <title>@ViewBag.Title</title>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="navbar navbar-default navbar-fixed-top">
                <div class="container">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#responsive-menu">
                            <span class="sr-only">Navigation-toggle</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="@Url.Action(MVC.Home.Index())">ITTesting</a>
                    </div>
                    <div class="collapse navbar-collapse" id="responsive-menu">
                        <ul class="nav navbar-nav">
                            <li><a href="@Url.Action(MVC.Home.Index())"><span class="glyphicon glyphicon-home"></span>&nbsp;Головна</a></li>
                            <li><a href="@Url.Action(MVC.Tests.Index())"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;Список тестів</a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right pull-right">
                            <li>@Html.Action(MVC.Account.LoginWidget())</li>
                            <li><a href="@Url.Action(MVC.Account.Register())">Реєстрація</a></li>
                        </ul>
                        <form class="navbar-form navbar-left pull-right" role="search">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Пошук по тестах...">
                            </div>
                            <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span>&nbsp;Шукати</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        @RenderBody()
    </div>

    @Scripts.Render("~/bundles/scripts/base")
    @RenderSection("scripts", required: false)
</body>
</html>
